package com.ruoyi.file.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 作者：李嘉浩
 * 时间：2024-09-06-11:12
 * 功能：
 */
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssConfig {
    private String endpoing;
    private String accessKey;
    private String accessSecret;
    private String bucketName;

    public String getEndpoing() {
        return endpoing;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public String getAccessSecret() {
        return accessSecret;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setEndpoing(String endpoing) {
        this.endpoing = endpoing;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public void setAccessSecret(String accessSecret) {
        this.accessSecret = accessSecret;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }
}
